<?php

/*
 * jzp2008
 */

namespace app\admin\controller;
use think\Controller;
/**
 * Description of Common
 *
 * @author jzp
 */
class Common extends Controller{
    
    public function _initialize() {
        //初始化数据
        $list = $this->menu();
        $this->assign('list', $list);
        unset($list);
        
    }
    
    //导航
    protected function menu() {
        
        $menu =  model("Menulink");
        $list = $menu->select();
        return $list;
    }
}
